package cn.itsource.org.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.org.domain.Shop;

import java.util.List;


/**
 * 店铺类的mapper接口
 */
public interface ShopMapper extends BaseMapper<Shop> {

    void saveSetIn(Shop shop);

    //只获取状态为0 待审核的店铺商家
    List<Shop> getShopByState();

    void updateState(Long id);

    Shop loadByLogininfoid(Long id);
}
